package cn.bdqn.study_method_param;

public class StudentBizByClassTest {

    public static void main(String[] args) {
        StudentBizByClass sbbc = new StudentBizByClass();
        //循环三次
        for (int i = 1; i <= 3; i++) {
            //每次循环都创建一个学生
            Student student = new Student();
            //为学生对象的属性进行赋值
            student.studenNo = 10001+i;
            student.name = "李四"+i;
            student.age = 22+i;
            student.score = 88+i;
            //将学生对象添加到学生管理类的属性数组中
            sbbc.addStudent(student);
        }
        sbbc.showStudent();

    }

}
